package com.gongye.courseselectionsystem.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 课程表
 * @author baoorongchuan
 * @TableName course
 */
@TableName(value ="course")
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("课程表实体类")
public class Course implements Serializable {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("课程编号")
    @TableField(value = "courseNumber")
    private Integer courseNumber;

    @ApiModelProperty("课程名称")
    @TableField(value = "courseName")
    private String courseName;

    @ApiModelProperty("教师编号")
    @TableField(value = "teacherJobNumber")
    private String teacherJobNumber;

}